package Exception;

import java.util.Arrays;

public class chage {
    public static void main(String[] args) {
        test();
        test(1,2,3,4);
        test(new int[] {12,14,15,18});

    }
    public static void test(int...num){
        System.out.println(num.length);
        System.out.println(Arrays.toString(num));
        System.out.println("---------------------");


    }
}
